<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Upload One File</title>
</head>
<body>

<h3>Upload One File:</h3>

<form method="POST" action="doUpload" enctype="multipart/form-data">
    File to upload: <input type="file" name="file"><br />
    <input type="submit" value="Upload">
</form>

<form action="download" enctype="multipart/form-data" method="post">
    <input type="submit" name="test" value="下载Excel"/>
</form>

</body>
</html>